package com.tony.mindwarning.service;

import com.tony.mindwarning.pojo.Log;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Title: LogService
 * @Auther: 皮蛋布丁
 * @Date: 2021/04/07/22:10
 * @Description:
 */
public interface LogService {

    /**
     * @Description: addLog 插入登录日志信息
     * @Param: [log]
     * @return: int
     * @Author: 皮蛋布丁
     */
    int addLog(Log log);

    /**
     * @Description: getLogs 获取登录日志信息
     * @Param: [uname]
     * @return: java.util.List<com.tony.mindwarning.pojo.Log>
     * @Author: 皮蛋布丁
     */
    List<Log> getLogs(String uname);
}
